#include "kcp_typedef.h"

namespace KCP {
	const char* eventTypeStr(eEventType eventType) {
		switch (eventType) {
		case eConnect:
			return "eConnect";

		case eDisconnect:
			return "eDisconnect";

		case eRcvMsg:
			return "eRcvMsg";

		default:
			return "unknown";
		}
	}
}